<%@ page contentType="text/html; charset=UTF-8" %>
<%@ page import="com.bstek.dorado.common.DoradoContext" %>
<%@ page import="com.sibco.client.system.User" %>
<%@ page import="java.io.InputStream" %>
<%@ page import="java.io.BufferedInputStream" %>
<%@ page import="java.io.FileInputStream" %>
<%@ page import="java.util.Properties" %>
<%@ page import="com.sibco.client.common.UrlMap" %>
<html>
<head>
<title>模拟登陆</title>
<script language="javascript">
function imitatelogin() {
        if (document.theform.imitate_user_name.value==""||document.theform.userName.value==""||document.theform.password.value==""){
           alert("请填写模拟登录信息！");
           return false;
        }
        if (document.theform.imitate_user_name.value==document.theform.userName.value){
           alert("别瞎折腾了，累不累啊！");
           return false;
        }
	document.theform.submit();
}
</script>
</head>
<body>
	<form name="theform" action="<%=UrlMap.mapLoginServletUrl()%>" method="post">
	<div align="center" style="width:400px">
		<table>
			<tr>
				<td>被模拟者用户名/用户号：</td>
				<td><input type="text" name="imitate_user_name" value=""/></td>
			</tr>
			<tr>
				<td>模拟者用户名：</td>
				<td><input type="text" name="userName" value=""/></td>
			</tr>
			<tr>
				<td>模拟者密码：</td>
				<td><input type="password" name="password" value=""/></td>
			</tr>
			<tr>
				<!--<td>通行证密码：</td>-->
				<td><input type="hidden" name="validate" value="pass"/></td>
			</tr>
			<input type="hidden" name="Language" value="ZH"/>
			
		</table>
  		<input type="button" name="login" value="登录" onclick="imitatelogin();"/>
  	</div>
	</form>
</body>
</html>


